<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>评论-闲言轻博客</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/static/css/layui.css">
	<link rel="stylesheet" href="/static/css/mian.css">
</head>
<body class="lay-blog">
{{ template "common/head.html" . }}
		<div class="container-wrap">
			<div class="container container-message container-details">
					<div class="contar-wrap">
						<div class="item">
							<div class="item-box  layer-photos-demo1 layer-photos-demo">
								<h3><a href="#">{{ .node.Title }}</a></h3>
								<h5>发布于：<span>{{ date .node.UpdatedAt "Y-m-d H:i:s" }}</span></h5>
								<p>{{ str2html  .node.Content}}</p>
								<div class="count layui-clear">
									<span class="pull-left">阅读 <em>3</em></span>
									<span class="pull-left like layui-col-md-offset1"><i class="layui-icon layui-icon-praise"></i><em>0</em></span>
									{{ if eq .Role 1 }}
									<a class="pull-left layui-col-md-offset6 layui-btn" href="/Node/Edit?key={{ .node.Uuid }}">编辑</a>
									<a class="pull-left layui-col-md-offset1 layui-btn layui-btn-primary" href="/Node/Del?key={{ .node.Uuid }}">删除</a>
								    {{ end }}
								</div>
							</div>
						</div>
						<a name="comment"> </a>
						<div class="comt layui-clear">
							<a href="#" class="pull-left">评论</a>
							<a href="/Auth/Comment/?key={{ .node.Uuid }}" class="pull-right">写评论</a>
						</div>
						<div id="LAY-msg-box">
							{{ range .messages }}
							<div class="info-item">
								<img class="info-img" src="/static/images/info-img.png" alt="">
								<div class="info-text">
									<p class="title count">
										<span class="name">{{ .User.Name }}</span>
										<span class="info-img like"><i class="layui-icon layui-icon-praise"></i>0</span>
									</p>
									<p class="info-intr">{{ .Content }}</p>
								</div>
							</div>
							{{ end }}
						</div>
					</div>
			</div>
		</div>
{{ template "common/footer.html" . }}
<script src="/static/layui/layui.js"></script>
<script src="/static/js/blog.js"></script>
</body>
</html>